﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Vici.Mvc;
namespace web
{
    public class BaseController : Controller
    {
        [BeforeAction]
        public void BeforeAction()
        {
            #region 加载模板
            this.ChangeLayout("Master/BaseMaster");
            #endregion
            #region 加载CSS
            View.RegisterCSSInclude("~/Styles/Layout.css");
            View.RegisterCSSInclude("~/Styles/Main.css");
            View.RegisterCSSInclude("~/Styles/Head.css");
            View.RegisterCSSInclude("~/Styles/Bottom.css");
            #endregion
            #region 加载JS
            IncludeJq();
            #endregion
        }
    }
}